<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Remote Control: CDSlotClose Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Remote Control
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_c_d_slot_close.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_c_d_slot_close-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CDSlotClose Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Header for the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> interfaceclass.  
 <a href="class_c_d_slot_close.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_c_d_slot_close_8h_source.html">CDSlotClose.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CDSlotClose:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_c_d_slot_close.png" usemap="#CDSlotClose_map" alt=""/>
  <map id="CDSlotClose_map" name="CDSlotClose_map">
<area href="class_i_command.html" title="Header for the ICommand interfaceclass." alt="ICommand" shape="rect" coords="0,0,83,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a755b302bd3efe1b4641d29f2af3c3f96"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_d_slot_close.html#a755b302bd3efe1b4641d29f2af3c3f96">CDSlotClose</a> (<a class="el" href="class_stereo.html">Stereo</a> *dev)</td></tr>
<tr class="memdesc:a755b302bd3efe1b4641d29f2af3c3f96"><td class="mdescLeft">&#160;</td><td class="mdescRight">CTor of the <a class="el" href="class_c_d_slot_close.html" title="Header for the ICommand interfaceclass.">CDSlotClose</a>.  <a href="#a755b302bd3efe1b4641d29f2af3c3f96"></a><br/></td></tr>
<tr class="separator:a755b302bd3efe1b4641d29f2af3c3f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b387e8ef1fd2cbc5319b7c7ca9093e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_d_slot_close.html#ae2b387e8ef1fd2cbc5319b7c7ca9093e">Execute</a> ()</td></tr>
<tr class="memdesc:ae2b387e8ef1fd2cbc5319b7c7ca9093e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the command.  <a href="#ae2b387e8ef1fd2cbc5319b7c7ca9093e"></a><br/></td></tr>
<tr class="separator:ae2b387e8ef1fd2cbc5319b7c7ca9093e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af916ec2d995fda5e5b29c4a69537ab1a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_d_slot_close.html#af916ec2d995fda5e5b29c4a69537ab1a">Undo</a> ()</td></tr>
<tr class="memdesc:af916ec2d995fda5e5b29c4a69537ab1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Undos the last action.  <a href="#af916ec2d995fda5e5b29c4a69537ab1a"></a><br/></td></tr>
<tr class="separator:af916ec2d995fda5e5b29c4a69537ab1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_command"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_command')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_i_command.html">ICommand</a></td></tr>
<tr class="memitem:a0e0226af93b945e84b58405e9d5343b1 inherit pub_methods_class_i_command"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_command.html#a0e0226af93b945e84b58405e9d5343b1">~ICommand</a> ()</td></tr>
<tr class="memdesc:a0e0226af93b945e84b58405e9d5343b1 inherit pub_methods_class_i_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">DTor of the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> class.  <a href="#a0e0226af93b945e84b58405e9d5343b1"></a><br/></td></tr>
<tr class="separator:a0e0226af93b945e84b58405e9d5343b1 inherit pub_methods_class_i_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header for the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> interfaceclass. </p>
<p>Concrete command to close the cd drive of a stereo device</p>
<p>This command closes the cd tray of its stereo device</p>
<dl class="section author"><dt>Author</dt><dd>Thomas Pfeiffer </dd></dl>
<dl class="section date"><dt>Date</dt><dd>21.12.2012 </dd></dl>

<p>Definition at line <a class="el" href="_c_d_slot_close_8h_source.html#l00015">15</a> of file <a class="el" href="_c_d_slot_close_8h_source.html">CDSlotClose.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a755b302bd3efe1b4641d29f2af3c3f96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CDSlotClose::CDSlotClose </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_stereo.html">Stereo</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CTor of the <a class="el" href="class_c_d_slot_close.html" title="Header for the ICommand interfaceclass.">CDSlotClose</a>. </p>
<p>The CTor sets the <a class="el" href="class_device.html" title="Header for the Device class.">Device</a> the command acts on. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>The device the command acts on. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>in case dev is null </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_d_slot_close_8cpp_source.html#l00005">5</a> of file <a class="el" href="_c_d_slot_close_8cpp_source.html">CDSlotClose.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae2b387e8ef1fd2cbc5319b7c7ca9093e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CDSlotClose::Execute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Executes the command. </p>
<p>This function executes an action on the device which is associated with the command. </p>

<p>Implements <a class="el" href="class_i_command.html#a977f21211a0f95c315d1f79f1e757bab">ICommand</a>.</p>

<p>Definition at line <a class="el" href="_c_d_slot_close_8cpp_source.html#l00012">12</a> of file <a class="el" href="_c_d_slot_close_8cpp_source.html">CDSlotClose.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af916ec2d995fda5e5b29c4a69537ab1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CDSlotClose::Undo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Undos the last action. </p>
<p>This function undos the last action on the device. </p>

<p>Implements <a class="el" href="class_i_command.html#ad97315c668e8e9912e45386a0d3a0cb7">ICommand</a>.</p>

<p>Definition at line <a class="el" href="_c_d_slot_close_8cpp_source.html#l00018">18</a> of file <a class="el" href="_c_d_slot_close_8cpp_source.html">CDSlotClose.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_c_d_slot_close.html">CDSlotClose</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
